package com.project.poetry.service.entity.dto.poetry;

import com.project.poetry.common.entity.PageDTO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author mengxj
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class PoetryListDTO extends PageDTO {

    @ApiModelProperty("标题")
    private String title;

    @ApiModelProperty("作者")
    private Long author;

    @ApiModelProperty("朝代")
    private String dynasty;

    @ApiModelProperty("文本")
    private String text;

    @ApiModelProperty("类型")
    private Integer type;
}
